<?php
class My_Helper_Action_Gettab extends Zend_Controller_Action_Helper_Abstract
{
    function direct($fileName){
        $exten = explode(".",$fileName);
        $exten = $exten[count($exten)-1];         
        return $exten;
    }
} //end class
